<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // 数组可以放任意类型得数据
    var arr = [4,56,7,8,3]

    var arr1 = ['Tom', 'Jim', 'John']

    var str = 'abc'
    var arr2 = [34, 'Tony', true, str, null, arr1]
    console.log(arr2)
    
  </script>
</body>
</html>